let parent={
    name:'parent',
    like:['篮球','足球'],
}
function clone(prigin){
    let cloneObj=Object.create(prigin)//得到的是空对象无法直接显示
    cloneObj.getLike=function(){
        return this.like
    }
    return cloneObj
}
let child1=clone(parent)
console.log(child1.getLike());


